# helm repo update bitnami

# helm upgrade --install gitea bitnami/gitea \
# --create-namespace -n devops -f ./devops/gitea/bitnami_values.yaml
# 104.18.21.56 dl.gitea.io
#  gitea/gitea:1.20.3-rootless gitea/gitea:1.21.1-rootless

export namespace="devops"
export app_name="gitea-sonarqube-bot"
export repo="gitea-sonarqube-bot"
export helm="$repo/$app_name"
export url="https://codeberg.org/justusbunsi/gitea-sonarqube-bot/raw/branch/charts/"


helm repo remove $repo
helm repo add $repo $url
helm repo update $repo


helm upgrade --create-namespace --install \
    -n $namespace $app_name $helm \
    -f values.yaml
